home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EuroCD 3
/
EuroCD 3.iso
/
Programming
/
Amos
/
AMOSList-0198
/
AMOSLIST
/
000129_amos-request@svcs1.digex.net_Wed Jan 28 00:06:11 1998.msg
< prev
next >
Wrap
Text File
|
1998-06-24
|
2KB
|
55 lines
>From amos-request@svcs1.digex.net Wed Jan 28 00:06:11 1998
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id AAA05940
for <mcox@access.digex.net>; Wed, 28 Jan 1998 00:06:10 -0500 (EST)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id TAA21902
for amos-out; Tue, 27 Jan 1998 19:49:15 -0500 (EST)
Received: from pony-2.mail.digex.net (pony-2.mail.digex.net [204.91.241.6])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id TAA21899
for <amos-list@svcs1.digex.net>; Tue, 27 Jan 1998 19:49:14 -0500 (EST)
Received: from m6.sprynet.com (m6.sprynet.com [165.121.1.89])
by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id TAA19098
for <amos-list@access.digex.net>; Tue, 27 Jan 1998 19:49:12 -0500 (EST)
Received: from sprynet.com (ragriffi@ad77-217.arl.compuserve.com [199.174.172.217])
by m6.sprynet.com (8.8.5/8.8.5) with SMTP id QAA18828
for <amos-list@access.digex.net>; Tue, 27 Jan 1998 16:49:04 -0800 (PST)
From: Richard Griffith <ragriffi@sprynet.com>
Reply-To: ragriffi@sprynet.com
To: AMOS mailing list <amos-list@access.digex.net>
Date: Tue, 27 Jan 1998 19:40:44 +0500
Message-ID: <yam7331.2214.118743648@m6.sprynet.com>
In-Reply-To: <yam7330.2383.1747883944@post8.tele.dk>
X-Mailer: YAM 1.3.4 [040] - Amiga Mailer by Marcel Beck
Organization: Lacking; Does not play well with others.
Subject: Re: Trackloading in AMOS
MIME-Version: 1.0
Content-Type: text/plain
Status: O
X-Status:
On 26-Jan-98, Jens Vang Petersen wrote:
>... How do I lock a drive (and marks it as 'busy' to all other
>programs running)
Try something like this:
A$="DF0:"+Chr$(0)
Dreg(1)=Varptr(A$)
Dreg(2)=1
A=Doscall(-726)
>BTW: How do I unlock it when I'm finished ? :)
A$="DF0:"+Chr$(0)
Dreg(1)=Varptr(A$)
Dreg(2)=0
A=Doscall(-726)
This will only work with V36 and up (AmigaDOS 2.0+)
Prior to that you had to send packets to the handler
directly, and it is much more involved.
-Richard